package com.example.demo.service;

import com.example.demo.entity.BackResponseEntity;
import com.example.demo.entity.requestJson.AFavoriteAuthorReq;
import com.example.demo.entity.requestJson.DeleteReq;
import com.example.demo.entity.requestJson.IsFavoriteReq;
import com.example.demo.entity.responseJson.AFollowingRes;
import com.example.demo.entity.responseJson.ListResult;

import java.util.List;

/**
 * @author : 洪俊新
 * @date : 2021/3/6 15:26
 * @description:
 */
public interface AFavoriteAuthorService {
    BackResponseEntity<Object> favoriteAuthor(AFavoriteAuthorReq aFavoriteAuthorReq);
    BackResponseEntity<Object> isfavoriteAuthor(IsFavoriteReq isFavoriteReq);
    BackResponseEntity<ListResult<List<AFollowingRes>>> queryAFollowing(DeleteReq deleteReq);
    BackResponseEntity<Object> unSubscribe(IsFavoriteReq isFavoriteReq);
    BackResponseEntity<ListResult<List<AFollowingRes>>> queryReader(DeleteReq deleteReq);
}
